//
//  PlayerView.h
//  BroadcastTest
//
//  Created by zhaoxiaoyan on 16/12/1.
//  Copyright © 2016年 xiaoyanzhao. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>

@interface PlayerView : UIView

// URL Assert
@property (nonatomic, strong) AVURLAsset *assert;

// 初始化
- (instancetype)initWithUrl:(NSURL *)url;
- (instancetype)initWithURLAssert:(AVURLAsset *)assert;

// 播放
- (void)play;

// 暂停
- (void)pause;

// 停止
- (void)stop;

@end
